package com.cyf.db.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * Created by hfy on 2017/5/16.
 */

public interface InviteCodeMapper {
    @Update("update invitecode set useornot = #{useornot} where id = #{id}")
    void updateUseornot(@Param("id") Integer id, @Param("useornot") int useornot);
}
